from typing import Optional

from pydantic import BaseModel


class BackendReviewsListQueryModel(BaseModel):
    author: Optional[str]
    groupCode: Optional[str]
    keyword: Optional[str]
    page: int = 1
    pageSize: int = 10


class BackendReviewsQueryModel(BaseModel):
    reviews_id: Optional[int]
